//
//  ShapeDecorator.h
//  装饰器模式
//
//  Created by flannery on 2018/12/19.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Shape.h"

NS_ASSUME_NONNULL_BEGIN

@interface ShapeDecorator : Shape
@property (nonatomic, strong) Shape *decoratedShape;
-(instancetype)initWitShape:(Shape*)decoratedShape;
@end

@interface RedShapeDecorator : ShapeDecorator

@end

NS_ASSUME_NONNULL_END
